//
//  BaseView.m
//  DEMO
//
//  Created by J on 16/2/20.
//  Copyright © 2016年 J. All rights reserved.
//

#import "BaseView.h"

@implementation BaseView


- (BOOL)isUserInteractionEnabled{
    NSLog(@"isUserInteractionEnabled:%@ ",self.class);

    return [super isUserInteractionEnabled];
}



- (BOOL)pointInside:(CGPoint)point withEvent:(UIEvent *)event{
    BOOL is =  [super pointInside:point withEvent:event];
    NSLog(@"pointInside:%@ ",self.class);
    
    return is;
}




- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event{
    UIView* view = [super hitTest:point withEvent:event];
    NSLog(@"hitTest:%@ ",self.class);
    return view;
}


- (void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
    
    NSLog(@"%@",self.class);
}

@end
